class CommentsController < ApplicationController

  def create
    obj = @model.create(permitted_params)
    @blog = obj.blog
    respond_to do |format|
      format.js {render 'blogs/refresh_comments' }
    end
  end

end
